/*
 * @Date: 2024-08-23 16:26:14
 * @Author: LiSong
 * @LastEditors: ljc
 * @LastEditTime: 2025-07-21 11:23:59
 * @Description: 多选组件
 */
export default {
  type: 'checkbox',
  icon: 'checkbox-field',
  order: 160,
  enabled: true,
  formItemFlag: true,
  options: {
    // ----- 补充字段
    code: '', // 表单回显，字段编码
    dataField: '', // 数据字段，存储使用
    // ----- 原始字段
    name: '',
    label: '',
    labelAlign: '',
    defaultValue: [],
    columnWidth: '200px',
    size: '',
    displayStyle: 'inline',
    buttonStyle: false,
    border: false,
    labelWidth: null,
    labelHidden: false,
    disabled: false,
    hidden: false,
    configType: 0,
    optionItems: [
      { label: 'check 1', value: 1 },
      { label: 'check 2', value: 2 },
      { label: 'check 3', value: 3 },
    ],
    required: false,
    requiredHint: '',
    validation: '',
    validationHint: '',
    //-------------------
    customClass: '',  //自定义css类名
    // labelIconClass: null,
    // labelIconPosition: 'rear',
    // labelTooltip: null,
    //-------------------
    onCreated: '',
    onMounted: '',
    onChange: '',
    onValidate: '',
  },
}